package com.example.myapplication.flow

import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch

class FlowStateActivity0916 : AppCompatActivity() {
    val viewmodFlowviewmodel0923: Flowviewmodel0923 by viewModels()
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        lifecycleScope.launch {
            viewmodFlowviewmodel0923.state1.collect {

            }
            viewmodFlowviewmodel0923.state2.collect {

            }
        }
//        viewmodFlowviewmodel0923

    }
}